package com.iraeta.service;

import com.iraeta.entity.Caizhi;

import java.util.List;

public interface CaiZhiService {
    void addCaiZhi(Caizhi caizhi);
    void updateCaiZhi(Caizhi caizhi);
    void deleteCaiZhi(Integer id);
    Caizhi getCaiZhi(Integer id);
    List<Caizhi> listAllCaiZhi();
    List<Caizhi> listCaiZhi(String name);

    List<Caizhi> listHisCaiZhi(Integer id);
}
